# $Id: PKGBUILD 82250 2013-01-13 13:16:04Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: William Rea <sillywilly@gmail.com>
# Contributor: aeolist <aeolist@hotmail.com>

pkgname=synbak
pkgver=2.1
pkgrel=1
pkgdesc="Meant to unify several backup methods in a single application while supplying a powerful reporting system"
arch=('any')
url='http://www.initzero.it/products/opensource/synbak'
license=('GPL')
depends=('bc' 'netcat')
changelog=$pkgname.changelog
source=(http://www.initzero.it/products/opensource/${pkgname}/download/${pkgname}-${pkgver}.tar.gz)
sha256sums=('8af093458baf8ddf914996a5704b3adee22d6f17c76eedc3892c693eacf40ef4')

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
}
